package tech.aistar.day01.anno.dao.impl;


import org.springframework.stereotype.Repository;
import tech.aistar.day01.anno.dao.IUserDao;

/**
 * 本类用来演示:
 *
 * @author: success
 * @date: 2021/5/6 10:53 上午
 */
@Repository  // <bean id="userDaoImpl" class="">
public class UserDaoImpl implements IUserDao {

    public UserDaoImpl(){
        System.out.println("UserDaoImpl空参构造被调用了!");
    }

    @Override
    public void add() {
        System.out.println("UserDao->add()...");
    }
}
